#ifndef __IMAGECAMERA_H__
#define __IMAGECAMERA_H__

#include "ImageBase.h"


class ImageCamera :public ImageBase {

public:
	ImageCamera();
	ImageCamera(unsigned int width,unsigned int height);
	~ImageCamera();

	int getImage(Mat &image) override;
	int openDevice() override;
	int closeDevice() override;



private:
	VideoCapture cap;
	bool flag ;
};



#endif